﻿using Rhino.Etl.Core.ConventionOperations;

namespace EtlDemo.Rhino.JobCounts.Outputs
{
    public class BulkInsertToStaging : ConventionSqlBulkInsertOperation
    {
        public BulkInsertToStaging() : base("destination", "JobCounts_Stage")
        {
            
        }

        protected override void PrepareSchema()
        {
            BatchSize = 1000;
            Timeout = 120;
            MapColumn("Affiliate");
            MapColumn("JobCount", typeof (int));
        }
    }
}